package com.wzcl.app.model.vo;

import com.wzcl.app.dao.model.CoursePoint;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.BeanUtils;

@EqualsAndHashCode(callSuper = false)
@Data
public class CoursePointVo extends BaseVo{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "课程ID")
    private Integer courseId;

    @ApiModelProperty(name = "大纲名")
    private String name;

    @ApiModelProperty(name = "排序")
    private Integer orderNo;

    @ApiModelProperty(name = "时间段")
    private String date;

    @ApiModelProperty(name = "授课老师名")
    private String teacherName;

    private CoursePointVo() {
    }

    public static CoursePointVo create(CoursePoint coursePoint){
        CoursePointVo coursePointVo = new CoursePointVo();
        BeanUtils.copyProperties(coursePoint,coursePointVo);
        coursePointVo.translationValueStr();
        return coursePointVo;
    }

    @Override
    public void translationValueStr() {
    }

    @Override
    public void processResources() {

    }
}
